package com.ojoin.trade.supplyloan_core.web.domain;

import java.util.Date;

import com.ojoin.trade.common.web.domain.IDentifiable;
/**
 * 供应链库存
 * @author huanggc
 *
 */
public class TbSlSupplyInventory implements IDentifiable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public final static String IN = "in";
	public final static String OUT = "out";
	public final static String InAndOut = "InAndOut";
	public final static String PAY = "pay";
	
	
    private Integer id;
    
    private Integer platformAccountId;

    private String itemId; //采购订单号

    private String storeDate; //收货日期

    private Long totalCost; //含税总价

    private String itemKey; //苏宁收货单号
    
    /**
     *  贷款编号
     */
    private String loanCode;

    private String itemStatus;

    private Date rowUpdateTime;

    private Date rowCreateTime;

    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPlatformAccountId() {
        return platformAccountId;
    }

    public void setPlatformAccountId(Integer platformAccountId) {
        this.platformAccountId = platformAccountId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId == null ? null : itemId.trim();
    }

    public String getStoreDate() {
        return storeDate;
    }

    public void setStoreDate(String storeDate) {
        this.storeDate = storeDate == null ? null : storeDate.trim();
    }

    public Long getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(Long totalCost) {
        this.totalCost = totalCost ;
    }

   

    public String getItemStatus() {
		return itemStatus;
	}

	public void setItemStatus(String itemStatus) {
		this.itemStatus = itemStatus;
	}

	public String getItemKey() {
		return itemKey;
	}

	public void setItemKey(String itemKey) {
		this.itemKey = itemKey;
	}

	public String getLoanCode() {
		return loanCode;
	}

	public void setLoanCode(String loanCode) {
		this.loanCode = loanCode;
	}

	@Override
	public Date getRowUpdateTime() {
		return rowUpdateTime;
	}

	@Override
	public void setRowUpdateTime(Date rowUpdateTime) {
		this.rowUpdateTime=rowUpdateTime;
	}

	@Override
	public Date getRowCreateTime() {
		return rowCreateTime;
	}

	@Override
	public void setRowCreateTime(Date rowCreateTime) {
		this.rowCreateTime=rowCreateTime;
	}

	@Override
	public String getTableName() {
		return "tb_sl_supply_inventory";
	}

}